package com.yg.entity.singleEntity;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 对应sheet01和其他表，此表为教师表
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Teacher对象", description="对应sheet01和其他表，此表为教师表")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "教师id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "教师的教职号")
    private String teacherId;

    @ApiModelProperty(value = "权限")
    private String vip;

    @ApiModelProperty(value = "密码，UUID加密")
    private String password;

    @ApiModelProperty(value = "教师姓名")
    private String name;

    @ApiModelProperty(value = "教师性别")
    private String sex;

    @ApiModelProperty(value = "教师生日")
    @DateTimeFormat("yyyy-MM-dd")
    private String birthday;

    @ApiModelProperty(value = "教师年龄")
    private Integer age;

    @ApiModelProperty(value = "教师教龄")
    private Integer seniority;

    @ApiModelProperty(value = "教师来校工作时间")
    private String workTime;

    @ApiModelProperty(value = "教师职称，对应字典表")
    private String title;

    @ApiModelProperty(value = "教师专业技术岗位，对应字典表")
    private String technicalPositions;

    @ApiModelProperty(value = "教师学术头衔")
    private String academicTitle;

    @ApiModelProperty(value = "教师荣誉称号")
    private String titleHonor;

    @ApiModelProperty(value = "教师是否为双师型，是：1，否：0")
    private String whetherDouble;

    @ApiModelProperty(value = "研究生导师类型，对应字典表")
    private String postgraduateType;

    @ApiModelProperty(value = "人才引进时间")
    @DateTimeFormat("yyyy.MM.dd")
    private String talentIntroductionTime;

    @ApiModelProperty(value = "校内人才认定层次，对应字典表")
    private String schoolTalentLevel;

    @ApiModelProperty(value = "是否海外留学或访学")
    private String whetherStudyAbroad;

    @ApiModelProperty(value = "留学国家及单位")
    private String studyInUnit;

    @ApiModelProperty(value = "留学开始时间")
    @DateTimeFormat("yyyy-MM-dd")
    private String startStudy;

    @ApiModelProperty(value = "留学结束时间")
    @DateTimeFormat("yyyy-MM-dd")
    private String endStudy;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
